package com.filyar.htyd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author filyar
 * @since 2024-08-29
 * @e-mail root@filyar.com
 */
@Getter
@Setter
@TableName("shift_history")
public class ShiftHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer personId;

    private Integer shiftId;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date shiftDate;

    private Integer dayTypeId;


}
